home *** CD-ROM | disk | FTP | other *** search
-
- The following information summaries ALIB functions. Functions are grouped
- into categories and then into modules. The module is the smallest unit
- which the linker can handle. The category is for descriptive purposes.
-
- Category Module
- -------- ------
- SHRINK - compress data block compress huff
- EXPAND - expand data back to original state compress huff
-
- GET_SETUP - read setup file from disk & write initial file config config
- CHANGE_SETUP - allow user to change setup configuration. config config
- WRITE_SETUP - write setup block to disk file config config
- SET_LIB_COLORS - set a color for library use config config
-
- BYTE_TO_HEX_STR - convert hex byte to two ascii characters convert conv06
- BYTE_TO_HEX_CRT - convert hex byte to ascii and display convert conv06
- DEC_STR_TO_WORD - convert unsigned ascii string to binary word convert conv01
- DEC_STR_TO_DWORD - convert numeric string to double word convert conv02
- DEC_STRZ_TO_DWORD - convert numeric string to double word value convert conv02
- DWORD_TO_DEC_STRX - convert dword to decimal ascii & format convert conv07
- DWORD_TO_DEC_CRTX - convert dword to decimal ascii and display convert conv07
- DWORD_TO_DEC_STR - convert a long integer value to a string convert conv03
- DWORD_TO_HEX_STR - convert hex double word to ascii convert conv06
- DWORD_TO_HEX_CRT - convert hex double word to ascii and display convert conv06
- HEX_STR_TO_BYTE - convert 2 hex ascii characters to 1 hex byte convert conv05
- HEX_STR_TO_WORD - convert 4 hex ascii characters to 2 hex bytes convert conv05
- WORD_TO_DEC_STR - convert an integer value to an ASCIIZ string convert conv04
- WORD_TO_DEC_CRT - display integer as decimal value convert conv04
- WORD_TO_HEX_STR - convert hex word to four ascii characters convert conv06
- WORD_TO_HEX_CRT - convert hex word to ascii and display convert conv06
-
- DBASE_INIT - initialize a database for use database dbase
- DBASE_READ - read specific record from the database database dbase
- DBASE_READ_NEXT - read next sequential record database dbase
- DBASE_READ_PREV - read previous record database dbase
- DBASE_APPEND - append this record to end database dbase
- DBASE_INSERT - insert this record before specific record database dbase
- DBASE_REPLACE - replace data for a specific record database dbase
- DBASE_REMOVE - delete specific record database dbase
- DBASE_CLOSE - close & write any pending data to file database dbase
- DBASE_KILL - delete dbase file database dbase
-
- FILE_COPY - copy a file disk disk1
- FILE_SIZE1 - find an open file's size disk disk2
- FILE_SIZE2 - find a closed file's size disk disk2
- FILE_COUNT - counts the number of files matching a filespec disk disk3
- FILE_FLUSH - flushes the DOS output buffer for specified handle disk disk4
- FILE_EXIST - determines if a file exists and can be opened disk disk8
- EXPAND_FILENAME - Expand a file string to the full path disk disk9
- DECODE_FILENAME - build pointers to major portions of file name disk diska
- FIND_HOME_PATH - get executing programs disk location disk diskb
- GET_PATH - finds paths in program environment disk diskc
- CHANGE_PATH - switch to new directory, save current path first disk diskd
- RESTORE_PATH - switch to directory saved by CHANGE_PATH disk diskd
-
- PUT_CRT_CHR - display single character display crt1
- GET_CRT_CHR - read character and attribute from text screen display crt1
- REPEAT_PUT_CRT - displays a single char CX times display crt1
- PUT_CRT_BLK - copies a string to video memory buffer display crt2
- VERTICAL_REPEAT_CHR - repeat columns of a character vertically display crt2
- TABULAR_DRAW - Subroutine to draw using a table display crt3
- CLEAR_SCREEN - fill screen with specified character and color display crt4
- DISPLAY_STRING - display string directly to video buffer display crt4
- DISPLAY_STRING_FILL - display string at specified position display crt4
- DISPLAY_STRING_LIST - display a list of strings display crt4
- CLEAR_WINDOW - fill a rectangular area of screen display crt5
- DRAW_BOX - draw a box on screen display crt5
- WINDOW_STRING - display string in a window, handles cr/lf display crt5
- BOX_RIGHT - move box parameters right display crt5
- BOX_LEFT - move box parameters left display crt5
- BOX_UP - move box parameters up one position display crt5
- BOX_DOWN - move box parameters down one position display crt5
- BOX_EXPAND - expand box one position in all directions display crt5
- BOX_SHRINK - shrink box parameters one position display crt5
- GET_ANSI_COLOR - find color attribute used by ANSI driver display crt6
- CURSOR_ - like SHOW_CURSOR, but the underscore cursor is used display crt6
- SHOW_CURSOR - move cursor to (row, col) and update cursor shape display crt6
- HIDE_CURSOR - make hardware cursor invisible display crt6
- BLINK_ON - enable blinking attributes display crt6
- BLINK_OFF - disable blinking attributes display crt6
- SAVE_WINDOW - save area of display in memory buffer display crt7
- RESTORE_WINDOW - restore a previously saved area of display display crt7
- DISK_TO_CRT - loads a screen image file saved by CRT_TO_DISK display crt8
- CRT_TO_DISK - saves a screen image to disk display crt8
- POSN_TO_ADR - library internal usage only display crt9
- ADR_TO_POSN - library internal usage only display crt9
-
- LIB_ERROR_HANDLER - handle pre defined library errors error error1
- ERROR_HANDLER - handle fatal errors error error1
- ERROR_PRIME - setup error handler error error2
- ERROR_TABLE_HANDLER - handle errors described in table error error2
- ERROR_FILE_HANDLER - handle errors described in file error error2
- SOUND_ON - enable sounds on speaker from BEEP or ONE_BEEP error error3
- SOUND_OFF - disable sounds on speaker from BEEP or ONE_BEEP error error3
- ONE_BEEP - beep once error error3
- BEEP make sound for number of milliseconds. error error3
-
- FLOAT_OPEN - open the floating point module & hardware for use float float1
- FLOAT_CLOSE - release the memory allocated by FLOAT_OPEN float float1
- BINARY_IN - double word binary to floating format float float2
- BINARY_OUT - floating format to double word binary float float2
- FMOVE - move floating point token variables float float2
- F_SUBTRACT - floating point subtract float float2
- F_ADDITION - floating point addition float float2
- FCOMP - floating point compare float float2
- F_MULTIPLY - floating point multiply float float2
- F_DIVIDE - floating point divide float float2
- ROUND - round floating number to two decimal points float float2
- TEXT_OUT - floating point to ascii conversion float float2
- TEXT_IN - ascii to floating point conversion float float2
- FLOAT_SET - enable/disable hardware (not used at present) float float2
-
- MEM_OPEN - interrogate memory and setup database. memory memory
- MEM_ALLOCATE - allocate a block of memory. memory memory
- MEM_PUT - write to allocated memory area. memory memory
- MEM_GET - read from allocated memory area. memory memory
- MEM_RELEASE - release allocated memory block. memory memory
- MEM_CLOSE - close memory handler. memory memory
- DOS_MEM_ALLOCATE - allocate dos memory for direct writes memory memory
- DOS_MEM_RELEASE - release DOS_MEM_ALLOCATE memory memory memory
- CHECK_FOR_EMS - detects EMS driver memory memory
-
- MENU_SYSTEM - Menu bar display and decode of user selection menu puldown1
- QMENU_SYSTEM - Quick pull down menu bar menu puldown2
-
- MESSAGE - boxed message display message msg1
- RANDOM - generate random number message msg2
- GET_RANDOM - generate random number message msg2
- QMESSAGE - Quick message display (msg in file) message msg3
- QWARN - Quick message display (msg in mem) message msg3
-
- IS_ALPHA - determines if a key from KEY_READ is a-z mouse/key mkey01
- IS_DIGIT - determines if a key from KEY_READ is number mouse/key mkey02
- IS_LOWER - determine if a key from KEY_READ is lower case mouse/key mkey03
- IS_UPPER - determine if a key from KEY_READ is upper case mouse/key mkey04
- TO_UPPER - converts keycode returned by KEY_READ to upper case mouse/key mkey05
- TO_LOWER - converts keycode returned by KEY_READ to lower case mouse/key mkey06
- CAPS_ON - keyboard capslock key enabled mouse/key mkey07
- NUMLOCK_ON - keyboard numlock key enabled mouse/key mkey07
- SCROLL_ON - keyboard scroll lock key enabled mouse/key mkey07
- INSERT_OFF - keyboard insert key disabled mouse/key mkey07
- CAPS_OFF - keyboard capslock key disabled mouse/key mkey07
- NUMLOCK_OFF - keyboard numlock key disabled mouse/key mkey07
- SCROLL_OFF - keyboard scroll lock key disabled mouse/key mkey07
- YES_OR_NO - wait for yes or no user response mouse/key mkey08
- FLUSH_KEYBOARD - clears the keyboard's 'type-ahead' buffer mouse/key mkey09
- KEY_CHECK - determines if a key is waiting mouse/key mkey09
- KEY_READ - returns next key pressed mouse/key mkey09
- KEY_PUT - put key back into BIOS buffer mouse/key mkey10
- KEY_IF_READY - Returns key if one is waiting mouse/key mkey11
- SETUP_MOUSE - initializes mouse if present mouse/key mkey12
- MOUSE_PARMS - determine mouse position & buttons pressed mouse/key mkey12
- KEY_OR_MOUSE - waits for keypress or mouse button click mouse/key mkey13
- MOVE_MOUSE - position the mouse cursor mouse/key mkey14
- BOX_THE_MOUSE - limits mouse's range of motion mouse/key mkey15
- MOUSE_CURSOR_ON - enable the mouse cursor at BIOS level mouse/key mkey15
- MOUSE_CURSOR_OFF - disable the mouse cursor at BIOS level mouse/key mkey15
- GET_STRING - read string from the keyboard. mouse/key mkey16
- KEY_DECODE - analyze key and select processing mouse/key mkey16
- QGET_STRING - Quick call to get string & return when done mouse/key mkey16
- window_edit - edit text within window mouse/key mkey17
- window_cstring - display text with hyper formatting mouse/key mkey17
-
- PARSE_FIRST - parse first argument from command line parse parse
- PARSE_NEXT - parse next command line parameter parse parse
-
- STRLEN1 - finds length of an ASCIIZ string in DS:SI string str01
- STRLEN2 - finds length of an ASCIIZ string in DS:DI string str01
- STRLEN3 - finds length of an ASCIIZ string in DS:BX string str01
- LAST_CHAR - find the last byte in a string matching AL string str02
- LAST_CHARC - find the last byte in n bytes matching AL string str02
- FIRST_CHAR - search an ASCIIZ string for a specified character string str03
- FIRST_CHARC - search n bytes string for a specified character string str03
- BUFFER_SEARCH - search string1 for first occurrence of string2 string str04
- BUFFER_SEACHC - search a buffer for specified string string str04
- STR_SRCHC - limited length string search string str05
- LAST_STR - finds the last match of target string1 in string2 string str06
- LEGAL_CHAR_CHECK - scan target string for legal characters string str08
- ILLEGAL_CHAR_CHECK - scan target string for illegal characters string str09
- STR_UPPER - change lower-case characters to upper case string str16
- STR_UPPERC - changes lower-case characters in n-length string string str17
- STR_LOWER - changes bytes of a string to lower case string str19
- STR_LOWERC - changes n bytes of a string to lower case string str20
- STR_CENTER - centers a string in a fixed field string str21
- STR_LEFT - left-justifies a string in a fixed field string str22
- STR_RIGHT - right-justifies a string in a fixed field string str23
- STR_CLEANL - remove leading blanks from an ASCIIZ string string str24
- STR_CLEANR - removes trailing blanks from an ASCIIZ string string str25
- STR_REMOVE - remove all occurrences of a character from string string str26
- STR_CHAR_DEL - deletes a character from a string string str27
- STR_CHAR_DELC - deletes a character from string of known length string str27
- STR_REVERSE - reverses all characters in a string string str28
- STR_REVERSEC - reverses n characters in a string string str28
- STR_SWAP - swaps strings or portion of strings string str29
- STR_CLEAN - sets all bytes of string to a specified character string str30
- STR_CLEANC - sets n bytes of string to a specified character string str30
- STR_JOIN - appends string2 at end of string1 string str31
- STR_INSERT - inserts string2 in string1 at specified offset. string str32
- STR_COPY - copy an ASCIIZ string to existing buffer string str33
- STR_COPYC - copy CX bytes to an existing buffer string str33
-
- LIBRARY_SETUP - setup library for use system sys1
- LIBRARY_TERMINATE - close out library for program exit system sys1
- FIND_CPU_TYPE - detects cpu type system sys1
- MATH_HARDWARE - determines if 80x87 math coprocessor present system sys1
- KEYBOARD_SETUP - determine type of keyboard attached system sys1
- FIND_MOUSE - determines if a mouse is installed system sys1
- CHECK_ANSI - determines if ANSI is present system sys1
- DISPLAY_INFO - analyze display type and return parameters system sys1
- DETECTVID - determine display type system sys1
- FIND_DISPLAY_SEGMENT - scan for current display buffer segment system sys1
- SPAWN_DOS - execute a second copy of DOS and application system sys2
- COUNT_FLOP_DRIVES - determine the number of floppy drives system sys3
- GET_DRV_TYPE - determine drive type system sys3
- BREAK_KEY_INTERCEPT - initialize Ctrl+Break trap system sys4
- BREAK_KEY_RESTORE - restore previous Ctrl+Break handler system sys4
- BREAK_CHECK - check if break key pressed system sys4
-
- DAYS_TO_DATE - date for a given number of days since 1-1-1980 time time1
- MONTH_TO_ASCII - get ASCII string for specified month time time2
- DAY_TO_ASCII - get ASCII string for specified day time time2
- GET_TIME - get the current system time. time time3
- ASC_TIME: Creates an ASCIIZ time string of the form HH:MM Xm. time time3
- GET_DATE - get the current system date and day of the week time time4
- GET_DAY - get the day of the week for a given date. time time4
- ASC_DATE - Creates an ASCIIZ date string of the form MM/DD/YY time time5
- DATE_TO_DAYS - get days between Jan 1, 1980 and a given date time time6
-
-